import java.util.Date;

public class BorrowInfo {
    /**
     * 借阅信息类
     * @author zj
     */
    private int bookId;
    private String bookName;
    private String borrowUser;
    private Date borrowTime;
    private Boolean isReturned;
    private Date returnTime;

    public BorrowInfo(int bookId, String bookName, String borrowUser, Date borrowTime, Boolean isReturned, Date returnTime) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.borrowUser = borrowUser;
        this.borrowTime = borrowTime;
        this.isReturned = isReturned;
        this.returnTime = returnTime;
    }

    @Override
    public String toString() {
        return "BorrowInfo{" +
                "bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                ", borrowUser='" + borrowUser + '\'' +
                ", borrowTime=" + borrowTime +
                ", isReturned=" + isReturned +
                ", returnTime=" + returnTime +
                '}';
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBorrowUser() {
        return borrowUser;
    }

    public void setBorrowUser(String borrowUser) {
        this.borrowUser = borrowUser;
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public Boolean getReturned() {
        return isReturned;
    }

    public void setReturned(Boolean returned) {
        isReturned = returned;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }
}
